<template>
<div>

 <!-- 轮播图子组件 -->
 <lunbotu :lunbolist="lunbolist" :isfull="true"></lunbotu>
   <!-- 九宫格 -->
   <div class="mui-content">
		        <ul class="mui-table-view mui-grid-view mui-grid-9">
		            <li class="mui-table-view-cell mui-media mui-col-xs-4">
                  <router-link :to="{name:'xwzx'}">
		                    <span class="mui-icon mui-icon-navigate"></span>
		                    <div class="mui-media-body">新闻资讯</div></router-link>
                        
                        </li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4">
                  <router-link :to="{name:'vimgs'}">
		                    <span class="mui-icon mui-icon-image"><span class="mui-badge">5</span></span>
		                    <div class="mui-media-body">图片分享</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4"><router-link :to="{name:'goods'}">
		                    <span class="mui-icon mui-icon-extra mui-icon-extra-gift"></span>
		                    <div class="mui-media-body">商品购买</div></router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4"><a href="#">
		                    <span class="mui-icon mui-icon-chatboxes"></span>
		                    <div class="mui-media-body">留言反馈</div></a></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4"><a href="#">
		                    <span class="mui-icon mui-icon-videocam"></span>
		                    <div class="mui-media-body">视频专区</div></a></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4"><a href="#">
		                    <span class="mui-icon mui-icon-phone"></span>
		                    <div class="mui-media-body">联系我们</div></a></li>
		        </ul> 
		</div>
</div>

</template>

<script>
import { Toast } from 'mint-ui';
import lunbotu from '../sub/Lunbotu.vue'
export default {
  data () {
    return {
      lunbolist:[]
    }
  },
  created(){
    this.lunbotu();
  },
  methods:{

    lunbotu:function(){
      this.$axios.get('api/getnewslist').then(res=>{
        // console.log(result.data)
        if(res.data.status===0){
          this.lunbolist=res.data.message;
          Toast('操作成功');
        }else{
          Toast('数据加载失败');
        }
      })
    }
  },
  components:{
    lunbotu
  }
}
</script>
<style lang="scss" scoped>

.mui-grid-view.mui-grid-9{
  background-color: #EFEFF4;
  border: none;
  li{
    border: none;
  }
}
</style>

